<div class="path"><i class="iconfont">&#xf108;</i>  <a href="{url('default/welcome')}">开始</a> / <a href="###">数据备份</a></div>
<div class="m10">
<div class="table-head fn-clear">
	<div class="fn-l"><a href="{url('backup/index')}" class="button"> <i class="iconfont">&#xf0ca;</i> 备份列表</a> <a href="{url('backup/tables')}" class="button"> <i class="iconfont">&#xf0ca;</i> 数据库列表</a><strong>数据文件列表</strong></div>
	<div class="fn-r"><span class="button button-blue tipb" ><i class="iconfont">&#xf055;</i> 数据库操作 <i class="iconfont">&#xf0d7;</i> </span></div>
</div>
<div class="select-list">
	<ul class="ztree">
	<li><a href="{url('backup/backupdb')}">数据库备份</a></li>
	<li><a href="{url('backup/optimizeddb')}">数据库优化</a></li>
	<li><a href="{url('backup/repairdb')}">数据库修复</a></li>
	</ul>
</div>
<table class="table">
<thead >
	<tr><th>备份文件名称</th><th class="w150 fn-tac">备份时间</th></th><th class="w120 fn-tac">管理操作</th></tr>
</thead>
<tbody>
{foreach $list as $rs}
<tr>
	<td>{$rs[name]}</td>
	<td class="w150 fn-tac">{date('Y-m-d H:i:s',$rs[times])}</td>
	<td class="w120 fn-tac">
		<a class="win" href="{url('backup/importdb',array('name'=>$rs[name]))}" title="恢复">恢复</a> / 
		<a class="win" href="{url('backup/downdb',array('name'=>$rs[name]))}" title="下载">下载</a> / 
		<a class="del" href="###" url="{url('backup/delectdb',array('name'=>$rs[name],'act'=>'del'))}">删除</a>
	</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<script type="text/javascript">
Do('base','dialog','tip','tree',function(){
	$('.del').click(function(){$(this).del();});
	$(".tipb").powerFloat({target: $(".select-list")});
	$(".ztree").treeview({collapsed: true,animated: "medium",control:"#sidetreechannel",persist: "location"});
})
</script>
